﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Collections;

namespace Quanly_dethi.Class
{
    class csB_Lop
    {

        private csC_Lop x;

        public  csC_Lop X
        {
            get { return x; }
            set { x = value; }
        }
        public csB_Lop()
        {
            x = new csC_Lop();
        }
        public csB_Lop(string severname, string user, string pass, string dbname)
        {
            x = new csC_Lop(severname, user, pass, dbname);
        }
        public void Insert(csE_lop x)
        {
            this.x.Insert(x);
        }
        public DataTable getlop(csE_lop x)
        {
            return this.x.Getlop(x);
        }
        public bool update(string lopmoi)
        {
            return this.update(lopmoi);
        }
        public ArrayList SelectArr()
        {
            return x.SellectArr();
        }
        public DataTable select_all()
        {
            return x.selectall();
        }
        public void Update(csE_lop x)
        {
            this.x.Update(x);
        }
    }
}
